﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace ShopAdForm.TestForm
{
    public partial class TestParentChildEventForm : Form
    {
        public TestParentChildEventForm()
        {
            InitializeComponent();
        }

        private void panel1_MouseDown(object sender, MouseEventArgs e)
        {
            Console.WriteLine(System.DateTime.Now.ToShortTimeString()+"触发了Panel1的MouseDown！");
            
        }

        private void panel1_MouseUp(object sender, MouseEventArgs e)
        {
            Console.WriteLine(System.DateTime.Now.ToShortTimeString() + "触发了Panel1的MouseUp！");
        }
    }
}
